package Expe10;

/**
 * @Author 28021
 * @Date 2022/11/15
 */
public class Simulator {
    public void playSound(Animal animal) {
        System.out.print(animal.getAnimalName() + ":");
        animal.cry();
    }
}
